<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta name="applicable-device" content="mobile"/>
    <meta name="apple-mobile-web-app-capable" content="no"/>
    <!--<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">-->
    <meta name="format-detection" content="telephone=no"/>

    <link rel="stylesheet" href="css/all.css"/>
    <script src="lib/flexible.js"></script>
    <script src="lib/jquery-1.9.1.min.js"></script>
    <script src="lib/jquery.cookie.js"></script>
    <script src="js/hgNews.min.js"></script>
    <script src="lib/layer.js"></script>

</head>
<body>
<!-- header -->
    <header class="header2 border-no">
        <a href="JavaScript:history.go(-1)" class="return"><img src="img/234d_03.png" /></a>
        <a class="fun" id="share-control"><img src="img/234d_05.png" /></a>
    </header>
<!-- /header -->
<!-- bodyer -->
<div class="zht-name2 user">
    <!--<div class="book"><a class="book-a none" href="">关注</a></div>-->
    <div class="img"><img src="img/tmp/fff23_10.png" alt=""></div>
    <div class="name">
        <p class="name-top">郝立拴</p>
        <p class="name-con">影楼行业化妆交流影楼行业化妆交流影楼行业化妆交流</p>
        <div class="name-fans">
            <span class="fans">粉丝</span>
            <span class="fans-how">238</span>
            <span class="fans">关注</span>
            <span class="">238</span>
        </div>
    </div>
</div>
<div class="placeholder"></div>

<div class="tab l-f">
    <span class="tab-son l-f-g1"><span class="p show">最新动态</span></span>
    <span class="tab-son l-f-g1"><span class="p">个人资料</span></span>
</div>
<div class="bodyer">
    <div class="dynamic emit-comment con-show">
        <div class="content">
            <div class="name fl_cd">
                <img class="top-photo" src="img/tmp/fff23_10.png">
                <span class="my-name">摄影师华子</span>
            </div>
            <a href="" class="list list-1"><p>首度人生难得的不是选择，而是选择后的坚持而是选择后的坚持</p></a>
            <div class="comment">
                <span class="exclusive">专访</span>
                <img class="look" src="img/sdfsdf_03.png" alt="">
                <span class="span1">235</span>
                <img class="look" src="img/fff34_05.png" alt="">
                <span class="span1">235</span>
                <span class="span1 time">2016-06-02</span>
            </div>
        </div>
        <div class="content">
            <div class="name fl_cd">
                <img class="top-photo" src="img/tmp/fff23_10.png">
                <span class="my-name">摄影师华子</span>
            </div>
            <a href="" class="list list-2">
                <p>首度人生难得的不是选择，而是选择后的坚持而是选择后的坚持</p>
                <div class="img">
                    <img class="" src="img/tmp/fff23_14.png">
                    <img class="" src="img/tmp/fff23_14.png">
                    <img class="" src="img/tmp/fff23_14.png">
                </div>
            </a>
            <div class="comment">
                <span class="exclusive">专访</span>
                <img class="look" src="img/sdfsdf_03.png" alt="">
                <span class="span1">235</span>
                <img class="look" src="img/fff34_05.png" alt="">
                <span class="span1">235</span>
                <span class="span1 time">2016-06-02</span>
            </div>
        </div>
        <div class="content">
            <div class="name fl_cd">
                <img class="top-photo" src="img/tmp/fff23_10.png">
                <span class="my-name">摄影师华子</span>
            </div>
            <a href="" class="list fl_cd">
                <p class="word">首度人生难得的不是选择，而是选择后的坚持而是选择后的坚持</p>
                <div class="img1"><img class="" src="img/tmp/fff23_14.png"></div>
            </a>
            <div class="comment">
                <span class="exclusive">专访</span>
                <img class="look" src="img/sdfsdf_03.png" alt="">
                <span class="span1">235</span>
                <img class="look" src="img/fff34_05.png" alt="">
                <span class="span1">235</span>
                <span class="span1 time">2016-06-02</span>
            </div>
        </div>
        <div class="content">
            <div class="name fl_cd">
                <img class="top-photo" src="img/tmp/fff23_10.png">
                <span class="my-name">摄影师华子</span>
            </div>
            <a href="" class="list list-4">
                <p>首度人生难得的不是选择，而是选择后的坚持而是选择后的坚持</p>
                <div class="img">
                    <img class="" src="img/tmp/fff23_14.png">
                </div>
            </a>
            <div class="comment">
                <span class="exclusive">专访</span>
                <img class="look" src="img/sdfsdf_03.png" alt="">
                <span class="span1">235</span>
                <img class="look" src="img/fff34_05.png" alt="">
                <span class="span1">235</span>
                <span class="span1 time">2016-06-02</span>
            </div>
        </div>
    </div>
    <div class="user-data emit-comment">
        <div class="data-list"><span class="title">会员名</span><span id="vip-name" class="date">郝立拴 (UID:1414112)</span></div>
        <div class="data-list"><span class="title">真实姓名</span><span id="true-name" class="date">郝立拴</span></div>
        <div class="data-list"><span class="title">职业</span><span id="profession" class="date">摄影师</span></div>
        <div class="data-list"><span class="title">手机</span><span id="phone" class="date">13696578566</span></div>
        <div class="data-list"><span class="title">地区</span><span id="area" class="date">山东济南</span></div>
        <div class="data-list"><span class="title">Email</span><span id="email" class="date">2635857688@qq.com  (未验证)</span></div>
        <div class="data-list"><span class="title">星座</span><span id="constellation" class="date">狮子座</span></div>
        <div class="data-list signature fl_cd"><span class="title">个人签名</span><span id="signature" class="date">加我好友吧。顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶</span></div>
        <a class="data-add" href="amend_data.html"><img src="img/2334s_03.png">&nbsp;&nbsp;<span id="control">修改资料</span></a>
    </div>
</div>
<!-- /bodyer -->
<!--切换-->
<script>
    $(".tab .tab-son").on("touchend",function(){
        hgNews.tab.call(this,$(".emit-comment"));
    })
</script>
<!--点击分享-->
<script>
    hgNews.clickLayer($("#share-control"));
</script>

<!--个人资料-->
<script>
//$.cookie("uid");  uid
//$.cookie("session_id");  session_id
console.log($.cookie("uid"));
console.log($.cookie("session_id"));
    $.ajax({
        type: 'POST',
        url:hgNews.api.getprofile+"&uid="+$.cookie("uid")+"&session_id="+ $.cookie("session_id"),
        dataType:"json",
        data:{uid:$.cookie("uid"),session_id:$.cookie("session_id")},
        error: function (jqXHR, textStatus, errorThrown) {//进行错误信息的处理
            /*弹出jqXHR对象的信息*/
            console.log(jqXHR.responseText + "-" + jqXHR.status + "-" + jqXHR.readyState + "-" + jqXHR.statusText);
            /*弹出其他两个参数的信息*/
            console.log(textStatus);
            console.log(errorThrown);
        },
        success: function(data){
            console.log(data);
            if(data.status == 1){
                $("#vip-name").html(data.data.username +"("+$.cookie("uid")+")");
                $("#true-name").html(data.data.realname);
                $("#profession").html(data.data.position);
                $("#phone").html(data.data.mobile);
                $("#area").html(data.data.address);
                $("#email").html(data.data.email);
                $("#constellation").html(data.data.constellation);
                $("#signature").html(data.data.bio);
                //todo;
            }else
            {
                alert("data.status="+data.status);
            }
        }
    });
</script>
</body>
</html>
